package com.zhipu.resetbalance.ui.home.system;

import android.os.Bundle;

import androidx.lifecycle.ViewModelProvider;

import com.zhipu.resetbalance.R;
import com.zhipu.resetbalance.databinding.ActivitySystemSettingBinding;
import com.zhipu.resetbalance.ui.BaseActivity;

/**
 * 系统设置
 */
public class SystemSettingActivity extends BaseActivity<ActivitySystemSettingBinding> {


    /**
     * VM
     */
    private SystemSettingViewModel mSystemSettingViewModel;

    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.activity_system_setting;
    }




    @Override
    public void initViewModel() {
        super.initViewModel();
        //VM
        mSystemSettingViewModel = new ViewModelProvider(getViewModelStore(), new ViewModelProvider.AndroidViewModelFactory(getApplication())).get(SystemSettingViewModel.class);
        binding.setViewModel(mSystemSettingViewModel);

    }
}
